/**
 * Created by darker on 2016/2/28.
 */
$(function () {
    $(".goods-yellow").mouseenter(function () {
        $(".under-line").animate({width:"100%"},500);
    });
    $(".goods-yellow").mouseleave(function () {
        $(".under-line").css("width","25%");
    });

    $(".goods-summary ").mouseenter(function () {
        $(this).find(".goods-operate").stop().animate({bottom:"0px"},500);
        $(this).find(".goods-summary-n").stop().animate({bottom:"17px"},500);
    });
    $(".goods-summary ").mouseleave(function () {
        $(this).find(".goods-operate").stop().animate({bottom:"-102px"},500);
        $(this).find(".goods-summary-n").stop().animate({bottom:"1px"},500);

    });
    $(".ishare1").mouseenter(function () {
        $(".ishare1").stop().animate({opacity:"1"},50);


    });
    $(".ishare1 ").mouseleave(function () {

        $(".ishare1").stop().animate({opacity:"0.4"},50);

    });
    $(".ishare2").mouseenter(function () {
        $(".ishare2").stop().animate({opacity:"1"},50);


    });
    $(".ishare2 ").mouseleave(function () {

        $(".ishare2").stop().animate({opacity:"0.4"},50);

    });
    $(".baoyou li").mouseenter(function () {
        $(this).find("i").stop().animate({opacity:"1"},50);


    });
    $(".baoyou li").mouseleave(function () {

        $(this).find("i").stop().animate({opacity:"0.5"},50);

    });
});
